package operator_sys

import (
	"os"
	"runtime"
)

func BaseInfo()  {
	println("系统类型：",runtime.GOOS)
	println("系统架构：", runtime.GOARCH)
	println("CPU核数", runtime.GOMAXPROCS(0))
	name, err := os.Hostname()
	if err != nil{
		panic(err)
	}
	println("电脑名称：", name)
	os.Getuid()
}